<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ezcomp="http://java.sun.com/jsf/composite/ezcomp">

    <style type="text/css">
        .canc{
            background-image: url("../resources/images/ajax_small.gif");
        }        
    </style> 

    <body>

        <ui:composition template="../plantilla/Plantilla_1.xhtml">

            <ui:define name="top">
                <ui:include src="../plantilla/top.xhtml" />
            </ui:define>    

            <ui:define name="left">
                <ui:include src="../plantilla/left.xhtml" />
            </ui:define>

            <ui:define name="content">

                <table width="547" border="0" cellspacing="0" cellpadding="0" background="../resources/images/3_26.gif" align="center">
                    <tr>
                        <td width="360" valign="top"> 
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td style="background-image:url(../resources/images/3_121.gif)" width="279" height="41">
                                        <center><b><h:outputText style="color: #ffffff; font-size: 13px" value="Libro Mayor"/></b></center>
                                        <!--width="279" height="41" alt=""/-->
                                    </td>
                                </tr>
                                <tr>
                                    <td><img src="../resources/images/3_15.jpg" width="279" height="38" alt=""/></td>
                                </tr>
                            </table>
                            <table width="279" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="12"></td>
                                    <td width="255"><div align="justify"><span class="main">

                                                <br/>                                          


                                            </span></div></td>
                                    <td width="12"></td>
                                </tr>
                            </table>
                        </td>
                        <td width="187" valign="top"><img src="../resources/images/3_13.jpg" width="268" height="230" alt=""/></td>
                    </tr>
                    <tr>                                                             


                        <td colspan="2">

                            <table  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="12"></td>
                                    <td><div align="justify"><span class="main">                                                               

                                                <br/>
                                                <p:growl id="grow2" showDetail="true" />  

                                                <p:fieldset legend="&nbsp;" toggleable="true" toggleSpeed="500">                                                   

                                                    <p:ajax event="toggle" update="grow2" />          

                                                    <p:dataTable var="car" value="" style="800">



                                                        <f:facet name="header">  
                                                            Libro Mayor
                                                        </f:facet>            
                                                        <p:column style=" vertical-align: top; width: 600px">
                                                            <f:facet name="header">
                                                                <h:outputText value="Cuentas por cobrar" />
                                                            </f:facet>
                                                            <h:outputText value="Venta de mercadería al crédito" /><br/>
                                                            <h:outputText value="Cobro deuda al cliente" />
                                                        </p:column>
                                                        <p:column >
                                                            <f:facet name="header">
                                                                <h:outputText value="Partida" />
                                                            </f:facet>
                                                            <h:outputText value="9" /><br/>
                                                            <h:outputText value="13" /><br/>
                                                            <!--b><h:outputText value="Total" style="font-style: italic" /></b-->
                                                        </p:column>
                                                        <p:column>
                                                            <f:facet name="header">
                                                                <h:outputText value="Cargo" />
                                                            </f:facet>
                                                            <h:outputText value="300.00" /><br/>
                                                            <h:outputText value="0.00" /><br/>
                                                        </p:column>
                                                        <p:column>
                                                            <f:facet name="header">
                                                                <h:outputText value="Abono" />
                                                            </f:facet>
                                                            <h:outputText value="0.00"/><br/>
                                                            <h:outputText value="100.00" /><br/>
                                                        </p:column>       
                                                        <p:column>
                                                            <f:facet name="header">
                                                                <h:outputText value="Saldos" />
                                                            </f:facet>
                                                            <h:outputText value="0.00" /><br/>
                                                            <h:outputText value="200.00" />
                                                        </p:column>                   

                                                        <f:facet name="footer">  
                                                            <p:commandButton type="button" value="Anterior" icon="ui-icon ui-icon-arrowreturnthick-1-w" style="margin:0"/>
                                                            <p:commandButton type="button" value="Siguiente" icon="ui-icon ui-icon-arrowreturnthick-1-e" style="margin:0"/>
                                                            <p:commandButton id="modalDialogsButton" onclick="dl_buscar.show();" type="button" value="Buscar cuenta" icon="ui-icon-search"/>
                                                        </f:facet>            



                                                    </p:dataTable>

                                                </p:fieldset>     
                                            </span></div></td>
                                    <td width="12" height="154">&nbsp;</td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr><td colspan="2">
                            <img   src="../resources/images/3_30.gif" width="547" height="40" alt=""/></td></tr>  
                </table>             
                <p:dialog id="modalDialogBuscar" style="text-align: left!important" appendToBody="true" header="Buscar cuenta de catálogo" widgetVar="dl_buscar" modal="true" resizable="false"
                          showEffect="clip" hideEffect="fold">  
                    <ezcomp:catalogoComposite /> 
                    <h:outputLabel for="buscar" value="Buscar:  " />  
                    <p:inputText id="buscar" value="" label="Buscar: " size="15" />&nbsp;
                    <p:commandButton type="button" value="Buscar" icon="ui-icon-search"/>
                </p:dialog>                                                                                                                                                
                <!--div style="height: 520px"></div-->
            </ui:define>

            <ui:define name="bottom">
                <ui:include src="../plantilla/bottom.xhtml" />                
            </ui:define>

        </ui:composition>

    </body>
</html>
